.jumbotron {
  background-color: #343a40;
  color: #fff;
}

.form-control {
  padding: 0.8em !important;
  background: #f0f0f0;
  color: #aaa;
  /* Behavior changed in Bootstrap v4.1.3. See https://github.com/twbs/bootstrap/issues/27629 */
  height: auto !important;
}

select.form-control {
  height: auto !important;
}

.custom-select {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
    no-repeat right 0.75rem center/8px 10px !important;
}

.card {
  border-radius: 0 !important;
}

#score-graph {
  min-height: 400px;
  display: block;
  clear: both;
}

#solves-graph {
  display: block;
  height: 350px;
}

#keys-pie-graph {
  min-height: 400px;
  display: block;
}

#categories-pie-graph {
  min-height: 400px;
  display: block;
}

.form-control {
  position: relative;
  display: block;
  padding: 0.8em !important;
  border-radius: 0;
  background: #f0f0f0;
  color: #aaa;
  font-weight: 400;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-appearance: none;
  /* Behavior changed in Bootstrap v4.1.3. See https://github.com/twbs/bootstrap/issues/27629 */
  height: auto !important;
}

.challenge-desc {
  overflow-wrap: anywhere;

  img {
    max-width: 100%;
  }
}

code, pre, h1, h2, h3, #submission-input {
  font-family: 'FantasqueSansMonoRegular', "Raleway";
}
h3 {
  font-family: 'AnitaSemisquareNormal';
  font-weight: normal;
  font-style: normal;
  white-space: nowrap;
}
.jumbotron h1 {
  margin-top: 2rem;
  font-family: 'Press Start 2P', cursive;
}
html, body, main {
  background-color: #ffffff !important;
  background-size: 100%;
  color: rgb(0, 0, 0);
}
.modal-content {
  background-color: #ffffff;
  border-radius: 10px!important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  background-color: #45629d;
  color: rgb(255, 255, 255);
}
.btn{
  line-height: 25px;
  border-radius: 5px!important;
}
.btn-primary {
  color: #fff;
  background-color: #45629d;
  border-color: #45629d;
  border-radius: 5px!important;
}
.btn-primary:hover {
  color: #fff;
  background-color: #45629da1;
  border-color: #45629d00;
  border-radius: 5px!important;
}
.btn-outline-secondary:hover {
  color: #fff;
  background-color: #45629d;
  border-color: #45629d;
  border-radius: 5px!important;
}
.btn-info {
  background-color: #45629d !important;
  border-radius: 5px!important;
}
.btn-dark {
  color: #fff;
  background-color: #45629d;
  border: none;
  border-radius: 5px!important;
}
.btn-dark:hover {
  /*  border-color: #6666997d;*/
  color: #fff;
  background-color: #45629da1;
  border: none;
  border-radius: 5px!important;
}
.challenge-button {
  box-shadow: 0 0 0  #006fce;
  transform: none;
  transition: all 0.3s ease;
}
.challenge-button:hover {
  box-shadow: 0 0 0  #006fce;
  transform: translate(-2px,-2px);
  transition: all 0.3s ease;
}
.challenge-input {
  border-radius: 5px!important;
}
.form-control {
  border-radius: 5px!important;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color: #fff;
  background-color: #45629d;
}
.card {
  border-radius: 10px!important;
}
.category-bar{
  top: 80px;
  padding: 14px 10px 10px;
  margin-top:40px;
  border-radius: 10px;
  box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width:200px;
  position: sticky;
  z-index: 1020;
}
.category-bar:hover{
  top: 80px;
  padding: 14px 10px 10px;
  margin-top:40px;
  border-radius: 10px;
  box-shadow: 16px 16px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width:200px;
  position: sticky;
  z-index: 1020;
}
.challenge-button-container{
  max-width: 20%;
  padding-left:0px;
  min-width:200px;
}
.challenge-button-content{
  padding: 0px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 12px;
  transition: transform 0.3s ease 0s;
  transform: none;
}
.challenge-nav-link {
  font-family: Hack,ui-monospace;
}
